package com.guigu.userservice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guigu.userservice.entity.RolePermission;

import java.util.List;

public interface RolePermissionService extends IService<RolePermission> {
    boolean addRolePermission(Long roleId, Long permissionId);
    boolean deleteRolePermissionByRoleId(Long roleId);

    List<RolePermission> getRolePermissionByRoleId(Long roleId);
}
